import Vue from 'vue'
import App from './App.vue'

import 'font-awesome/css/font-awesome.css'

import router from './router'//自动扫描router包路由配置

import store from './store'//自动扫描store包路由配置


import  videoPlayer  from 'vue-video-player/src' //视频播放
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'


import service from "@/service";


import VueResource from 'vue-resource';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'vue-cli-plugin-element/';

// 引入echarts以及中国地图china.js
import * as echarts from 'echarts';
import '../node_modules/echarts/map/js/china';
Vue.prototype.$echarts = echarts;
Vue.prototype.service = service
Vue.use(ElementUI);
Vue.use(VueResource);
Vue.use(videoPlayer);




Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
